projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caa63cc
)
* lisp/emacs-lisp/generator.el (iter-do): Add a debug declaration.
author
Paul Pogonyshev
<pogonyshev@gmail.com>
Fri, 3 Nov 2017 13:49:51 +0000
(15:49 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 3 Nov 2017 13:49:51 +0000
(15:49 +0200)
lisp/emacs-lisp/generator.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/generator.el
b/lisp/emacs-lisp/generator.el
index 410e4edcc921672f03bc7b5948e100e3e0b257e2..ef6cfba420c18d2de00d348e848a28d3d80f255b 100644
(file)
--- a/
lisp/emacs-lisp/generator.el
+++ b/
lisp/emacs-lisp/generator.el
@@
-718,7
+718,8
@@
is blocked."
"Loop over values from an iterator.
Evaluate BODY with VAR bound to each value from ITERATOR.
Return the value with which ITERATOR finished iteration."
- (declare (indent 1))
+ (declare (indent 1)
+ (debug ((symbolp form) body)))
(let ((done-symbol (cps--gensym "iter-do-iterator-done"))
(condition-symbol (cps--gensym "iter-do-condition"))
(it-symbol (cps--gensym "iter-do-iterator"))